﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Diagnostics;

namespace Deep_Talk_Converter
{
    /// <summary>
    /// Interaction logic for FinalInformation.xaml
    /// </summary>
    public partial class FinalInformation : UserControl
    {
        private MainWindow _main;
        public FinalInformation(MainWindow main)
        {
            InitializeComponent();
            _main = main;
        }

        private void urlNav_RequestNavigate(object sender, RequestNavigateEventArgs e)
        {
            Process.Start(e.Uri.ToString());
        }

        /// <summary>
        /// We are going to close now! Whee!
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void CloseApp_Click(object sender, RoutedEventArgs e)
        {
            _main.Close();
        }
    }
}
